widget: Use G_ENABLE_CONSISTENCY_CHECKS for invariants checking
authorMatthias Clasen <mclasen@redhat.com>
Wed, 9 Sep 2015 01:08:20 +0000 (21:08 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 9 Sep 2015 10:32:46 +0000 (06:32 -0400)
commit1b15588732f2c4e3c59994a59613d4e5c963e283
tree90103042aded375b09a4548cad85e06f0ece7c61
parentbf9a72976fed44d7ffc074896c8e948d975e94b6
widget: Use G_ENABLE_CONSISTENCY_CHECKS for invariants checking

The logic here is that G_ENABLE_DEBUG is for compiling out
debug spew that can be triggered at runtime with the GTK_DEBUG
environment variable, while G_ENABLE_CONSISTENCY_CHECKS is for
consistency checks that are applied unconditionally.
gtk/gtkwidget.c